<template>
  <div class="image-demo">
    <div v-for="i in 100" :key="i" class="item">
      <van-img lazy-load src="https://picsum.photos/200/200?random=1" />
    </div>
  </div>
</template>

<script>
import { VanImg } from '@/components/VanImg'
export default {
  name: 'ImageDemo',
  components: { VanImg }
}
</script>

<style lang="scss" scoped>
.item {
  width: 200px;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  background: #f8f8f8;
  margin: 15px;
}
</style>
